package net.pimpas.persistence.hibernate.serviceprovider;

import net.pimpas.core.context.FrameworkContext;
import net.pimpas.persistence.serviceprovider.PersistenceServiceProvider;

import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.SessionException;
import org.hibernate.SessionFactory;

public interface HibernateServiceProvider extends PersistenceServiceProvider {
	
	SessionFactory getSessionFactory( ) throws HibernateException;
	Session getSession(FrameworkContext context) throws SessionException;
	
}